package com.pxxy.springboot.webcase.service;


import com.pxxy.springboot.webcase.entity.Book;

import java.io.Serializable;
import java.util.List;

/******************
 * @Author yejf
 * @Description TODO
 */
public interface BookService {

    int save(Book book);

    int update(Book book);

    int delete(Serializable id);

    List<Book> findAll();

    Book findById(Serializable id);

    List<Book> findByKeyword(String keyword);

    int deleteSelected(List<Integer> idList);
}
